package com.xingdata.jjxc.speech;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

import com.xingdata.jjxc.R;
import com.xingdata.jjxc.map.navi.TTSController;

public class TTSActivity extends Activity implements OnClickListener {
	private static String TAG = "IatActivity";
	private TTSController controller;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test);
		initView();
		initTTSController();

	}

	private void initTTSController() {
		controller = TTSController.getInstance(TTSActivity.this);
	}

	private void initView() {
//		((Button) findViewById(R.id.test)).setOnClickListener(this);
	}

	@Override
	public void onClick(View view) {

		switch (view.getId()) {
//		case R.id.test:
//			String strText = ((EditText) findViewById(R.id.Text)).getText()
//					.toString();
//			controller.playText(strText);
//
//			break;

		default:
			break;
		}
	}

	

}
